﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace WCF_CM
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the class name "Group" in both code and config file together.
    public class UserGroupService : IUserGroupService
    {
       
        public string AssignUserToGroup(UserService user, Group group) //assign a user to a group, records stored in database
        {
            string result = string.Empty;
            //code
            return result;
        }

        public bool IsDisabled(UserService user) // disables functionality for a group or for a user?
        {

            return true; // can also return false
        }

        public string DeleteUserGroup()
        {
            string result = string.Empty;
            //code
            return result;
        }

        public UserService FindByID() //to search for a user in a group
        {
            UserService user = new UserService();
            return user;
        }

        public List<UserGroupService> GetUserGroups()
        {
            return UserGroups; //can use this method for adding groups to display on the UI or we can create
        }                       //a display method

      
    }
}
